package com.zb.entity.vo;

import com.zb.annotation.IntegerPattern;
import com.zb.utils.VerificUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/8/8 0008
 **/
@Data
@ApiModel("企业账户对象")
public class CustomerAccountVo {
    @NotNull(message = "企业ID不能为空")
    @Size(min = 1, message = "至少选项一个企业")
    @ApiModelProperty(value = "企业ID集合", required = true)
    private List<Long> custAccIdList;

    @IntegerPattern(regexp = VerificUtil.MONEY_FORMAT, message = "账户余额参数不合法！")
    @ApiModelProperty(value = "账户余额", example = "0")
    private BigDecimal amountBalance;

    @IntegerPattern(regexp = VerificUtil.POSITIVE_NUMBER, message = "短信数量不合法！")
    @ApiModelProperty(value = "短信数量", example = "0")
    private Integer smsBalance;

    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "附件路径")
    private List<String> annexs;
}
